import Vue from 'vue'
import App from './App.vue'
import router from './router/router'
import axios from 'axios';
import store from './vuex/store'
import ELEMENT from 'element-ui' 
import './styles.scss'
//登陆背景粒子canvas
import VueParticles from 'vue-particles'
//全局样式
import "./assets/css/main.scss"
//主题色
import "./assets/css/color-dark.scss"
//高德地图
import VueAMap from 'vue-amap'
 
//编辑器
import VueQuillEditor from 'vue-quill-editor'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
  

import AxiosPlugin from './api/AxiosPlugin';
Vue.prototype.$axios = axios;
Vue.use(AxiosPlugin)


Vue.use(VueQuillEditor)

Vue.use(VueParticles);
Vue.use(VueAMap);

//初始化amap的配置
VueAMap.initAMapApiLoader({
  key: '572119ddd1f359d7caab5c67ff94e12c',
  plugin: [
    'AMap.Autocomplete',
    'AMap.PlaceSearch',
    'AMap.Scale',
    'AMap.OverView',
    'AMap.ToolBar',
    'AMap.MapType',
    'AMap.PolyEditor',
    'AMap.CircleEditor',
    'AMap.Geolocation',
    'AMap.DistrictSearch',
    'Geocoder'
  ],
  v: '1.4.4'
});


Vue.use(ELEMENT)

Vue.config.productionTip = false

new Vue({
  router,
  store,  
  render: h => h(App)
}).$mount('#app')
